import { post } from '@/api/requestApi'

const BASE_URL = '/api/OperationLog/'

const API_URL = {
  GET_LOGIN_PAGES: 'GetOperationLogPages' //  分页获取登录日志
}

for (const i in API_URL) {
  API_URL[i] = BASE_URL + API_URL[i]
}

/**
 * 分页获取登录日志
 * @param data
 * @returns {*}
 * @constructor
 */
export function GetOperationLogPages(data) {
  return post(API_URL.GET_LOGIN_PAGES, data)
}
